<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2018/4/28 0028
  Time: 上午 9:12
  To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
            + path + "/";
%>
<html>
<head>
    <base href="<%=basePath%>">
    <title>Title</title>
</head>
<body>
DJzhaugeBBBBBBBBBBBBBBBBB
<form id="form22" action="maintenance/saveUrlAndMaintenance"  method="post"  enctype="multipart/form-data">

    <input type="file" name="file">
    <input type="file" name="file">
    <input type="file" name="file">
    <input type="file" name="file">
    <input type="submit" id="button" value="dj">

</form>
　<script src="https://code.jquery.com/jquery-3.1.1.min.js"></script>
 <%--   <script>
$('#button').on('click',function(){
    var form =  document.getElementById("form22");
    var formData = new FormData(form);
     $.ajax({
         type:'POST',
         url:'maintenance/saveUrlAndMaintenance',
         data:formData,
         processData:false,
         contentType:false,
         success:function(data){
             alert(1)
         }
     })



})

    </script>--%>
</body>
</html>
